package net.jxtz.jxtzos.service.auth;

import com.baomidou.mybatisplus.extension.service.IService;
import net.jxtz.jxtzos.entity.auth.WechatUser;
import net.jxtz.jxtzos.entity.auth.dto.WechatUserDto;

/**
 * @author a123
 */
public interface WechatUserService extends IService<WechatUser> {

    /**
     * 根据union id 获取到对应的用户id和wechat id
     * @param unionId 1
     * @return dto对象
     */
    WechatUserDto getWechatUserByUnionId(String unionId);

}
